<?php
class FormsearchWidget extends Widget{
     public function renderContent($params = array()){
         $this -> assign('busi_info', $this->model('busi')->select());
         $this -> assign('users', $this->model('user')->select());
         $this -> assign('url', $params['url']);
         $this -> assign('type', $params['type']);
         $this -> assign('adv_location',$this->getConfig('adv_location'));
         $this->display();
     }
}
